<template>
  <el-carousel height="720px" :interval="3000" arrow="always">
    <el-carousel-item>
      <img src="https://www.goodclassvip.com/static/img/banner1.jpg" alt="">
    </el-carousel-item>
    <el-carousel-item>
      <img src="/static/image/banner1.png" alt="">
    </el-carousel-item>
  </el-carousel>
</template>

<script>
export default {
  name: "BannerComp"
}
</script>

<style scoped>
.el-carousel,
.el-carousel__item {
  height: 690px;
}

.carousel-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  padding: 0;
}
</style>